DISCUSSION
This function sends a message to the specified queue, which consist of the three parameters,
param1
,
param2
, and
param3
. The system does not interpret the three 32-bit words which comprise the text of the message. If tasks are waiting on the specified queue, the first waiting task is unblocked and the task's
MPWaitOnQueue
function completes.
Depending on the queue mode, the system either allocates messages dynamically or assigns them to memory reserved for the queue. In either case, if no more memory is available for messages
MPNotifyQueue
returns
kMPInsufficientResourcesErr
.
You can call this function from an interrupt handler if messages are reserved on the queue. For more information about queueing modes and reserving messages, see
MPSetQueueReserve
.